/*
 * XML Type:  RequestType
 * Namespace: http://docs.oasis-open.org/wsrm/2004/06/ws-reliability-1.1.xsd
 * Java type: cgl.narada.wsinfra.schemas.wsr.RequestType
 *
 * Automatically generated - do not modify.
 */
package cgl.narada.wsinfra.schemas.wsr;


/**
 * An XML RequestType(@http://docs.oasis-open.org/wsrm/2004/06/ws-reliability-1.1.xsd).
 *
 * This is a complex type.
 */
public interface RequestType extends cgl.narada.wsinfra.schemas.wsr.HeaderBaseType
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s04CE69DCA3E1589C478471927CA16D40.TypeSystemHolder.typeSystem.resolveHandle("requesttype8453type");
    
    /**
     * Gets the "MessageId" element
     */
    cgl.narada.wsinfra.schemas.wsr.MessageIdType getMessageId();
    
    /**
     * Sets the "MessageId" element
     */
    void setMessageId(cgl.narada.wsinfra.schemas.wsr.MessageIdType messageId);
    
    /**
     * Appends and returns a new empty "MessageId" element
     */
    cgl.narada.wsinfra.schemas.wsr.MessageIdType addNewMessageId();
    
    /**
     * Gets the "ExpiryTime" element
     */
    java.util.Calendar getExpiryTime();
    
    /**
     * Gets (as xml) the "ExpiryTime" element
     */
    org.apache.xmlbeans.XmlDateTime xgetExpiryTime();
    
    /**
     * Sets the "ExpiryTime" element
     */
    void setExpiryTime(java.util.Calendar expiryTime);
    
    /**
     * Sets (as xml) the "ExpiryTime" element
     */
    void xsetExpiryTime(org.apache.xmlbeans.XmlDateTime expiryTime);
    
    /**
     * Gets the "ReplyPattern" element
     */
    cgl.narada.wsinfra.schemas.wsr.ReplyPatternType getReplyPattern();
    
    /**
     * Sets the "ReplyPattern" element
     */
    void setReplyPattern(cgl.narada.wsinfra.schemas.wsr.ReplyPatternType replyPattern);
    
    /**
     * Appends and returns a new empty "ReplyPattern" element
     */
    cgl.narada.wsinfra.schemas.wsr.ReplyPatternType addNewReplyPattern();
    
    /**
     * Gets the "AckRequested" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType getAckRequested();
    
    /**
     * True if has "AckRequested" element
     */
    boolean isSetAckRequested();
    
    /**
     * Sets the "AckRequested" element
     */
    void setAckRequested(cgl.narada.wsinfra.schemas.wsr.EmptyType ackRequested);
    
    /**
     * Appends and returns a new empty "AckRequested" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType addNewAckRequested();
    
    /**
     * Unsets the "AckRequested" element
     */
    void unsetAckRequested();
    
    /**
     * Gets the "DuplicateElimination" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType getDuplicateElimination();
    
    /**
     * True if has "DuplicateElimination" element
     */
    boolean isSetDuplicateElimination();
    
    /**
     * Sets the "DuplicateElimination" element
     */
    void setDuplicateElimination(cgl.narada.wsinfra.schemas.wsr.EmptyType duplicateElimination);
    
    /**
     * Appends and returns a new empty "DuplicateElimination" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType addNewDuplicateElimination();
    
    /**
     * Unsets the "DuplicateElimination" element
     */
    void unsetDuplicateElimination();
    
    /**
     * Gets the "MessageOrder" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType getMessageOrder();
    
    /**
     * True if has "MessageOrder" element
     */
    boolean isSetMessageOrder();
    
    /**
     * Sets the "MessageOrder" element
     */
    void setMessageOrder(cgl.narada.wsinfra.schemas.wsr.EmptyType messageOrder);
    
    /**
     * Appends and returns a new empty "MessageOrder" element
     */
    cgl.narada.wsinfra.schemas.wsr.EmptyType addNewMessageOrder();
    
    /**
     * Unsets the "MessageOrder" element
     */
    void unsetMessageOrder();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static cgl.narada.wsinfra.schemas.wsr.RequestType newInstance() {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static cgl.narada.wsinfra.schemas.wsr.RequestType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.wsinfra.schemas.wsr.RequestType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
